package cn.bugstack.domain.strategy.service.rule.chain;

/**
 * @Author: Zchy
 * @Description: 责任链抽象类
 * @DateTime: 10/29/2024 5:14 PM
 **/
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain next;

    @Override
    public ILogicChain next() {
        return next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }


    protected abstract String ruleModel();
}
